<?php
if (!defined('APP_PATH')) {
	define('APP_PATH', $_SERVER['DOCUMENT_ROOT']."/bdACPA");
}
require_once (APP_PATH.'/UI/afficheHeader.php');
print_r($_REQUEST);
// Provoque le rendu du template
$oSmarty = new Smarty();
$doss = "";
foreach($idDossiers as $idDossier){
	$doss .= '%'.$idDossier->iddossier;
}
$oSmarty->assign('idDossiers',$doss);
$oSmarty->assign('WEB_ROOT',WEB_ROOT);
$oSmarty->assign('nbDossiers', count($idDossiers));
$oSmarty->display(APP_PATH.'/UI/templates/templateListeDossiers.tpl');

require_once(APP_PATH.'/UI/afficheFooter.php');
?>